From f29b24517e3cad5b76b945eae179b5b729ef734f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 30 Apr 2023 20:28:12 -0400 Subject: [PATCH] Add a test for rotated blend nodes --- testsuite/gsk/compare/blend-in-rotate.node | 13 +++++++++++++ testsuite/gsk/compare/blend-in-rotate.png | Bin 0 -> 489 bytes testsuite/gsk/meson.build | 1 + 3 files changed, 14 insertions(+) create mode 100644 testsuite/gsk/compare/blend-in-rotate.node create mode 100644 testsuite/gsk/compare/blend-in-rotate.png diff --git a/testsuite/gsk/compare/blend-in-rotate.node b/testsuite/gsk/compare/blend-in-rotate.node new file mode 100644 index 0000000000..4e70392013 --- /dev/null +++ b/testsuite/gsk/compare/blend-in-rotate.node @@ -0,0 +1,13 @@ +transform { + transform: rotate(90); + child: blend { + bottom: color { + bounds: 0 0 100 100; + color: rgb(255,0,0); + } + top: color { + bounds: 50 50 100 100; + color: rgb(0,0,255); + } + } +} diff --git a/testsuite/gsk/compare/blend-in-rotate.png b/testsuite/gsk/compare/blend-in-rotate.png new file mode 100644 index 0000000000000000000000000000000000000000..4a684f3b1168cfe891e809ea2adffdeb0ad27506 GIT binary patch literal 489 zcmeAS@N?(olHy`uVBq!ia0vp^(?FPm4M^HB7CvHNVBFy8;uumf=k48%yiSG!tOt!3 z{h#LBQFrdtiCHTju&(ybKdbufjNRVG_19lA-tml3X>oO;Kaq4cXTInE6Z1-|4*Bn( xzx6O5-&@Z9Vau~V@zr`_oQV?!27>71zbwY49e;Rl9xw_SJYD@<);T3K0RUFkmaG5( literal 0 HcmV?d00001 diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 4118a6c669..e1dbe7abe2 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -17,6 +17,7 @@ compare_render_tests = [ 'blend-difference', 'blend-modes', 'blend-invisible-child', + 'blend-in-rotate', 'blend-normal', 'border-bottom-right', 'border-one-rounded', -- 2.30.2